package com.moxiao.yfjh.module.activity.controller.app.vo;

import com.moxiao.yfjh.module.blind.dal.dataobject.memberusertag.MemberUsertagDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Schema(description = "app - 相亲报名用户信息 Response VO")
@Data
@ToString(callSuper = true)
public class AppEnrollUseVO {

    @Schema(description = "编号")
    private Long id;

    @Schema(description = "活动id")
    private Long activityId;

    @Schema(description = "用户编号")
    private Long userId;

    @Schema(description = "用户性别")
    private Byte sex;

    @Schema(description = "用户性别")
    private String sexName;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "状态：0=已报名，1=已取消，2=已退回")
    private Byte status;

    @Schema(description = "用户昵称")
    @NotNull(message = "用户昵称不能为空")
    private String nickname;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "年龄")
    private Integer age;

    private String areaId;

    @Schema(description = "所在地名称", example = "12256")
    private String areaName;

    private String idNumber;
    @Schema(description = "是否实名")
    private Boolean isIdCard;

    @Schema(description = "是否是会员")
    private Byte haveMember;

    @Schema(description = "是否是会员")
    private Boolean ishaveMember;

    @Schema(description = "会员等级")
    private Byte userLevel;

    @Schema(description = "月收入")
    private String monthIncome;
    @Schema(description = "月收入")
    private String monthIncomeName;

    private Byte purchasHouse;
    @Schema(description = "购房情况")
    private String purchasHouseName;

    private Byte purchasCar;
    @Schema(description = "购车情况")
    private String purchasCarName;

    @Schema(description = "是否被选择")
    private Byte selected;

    @Schema(description = "是否是被选择成为活动人员0=是，1=否")
    private Byte activityStatus;

    @Schema(description = "是否配对:0=是，1=否（不用配对）")
    private Byte isPair;

    @Schema(description = "配对人员id:user_id")
    private Long pairId;

    List<MemberUsertagDO> usertag = new ArrayList<MemberUsertagDO>();
    @Schema(description = "星座")
    private String constellation;

}
